﻿using System;

namespace SimpleORMNET.Attributes
{
    /// <summary>
    /// This attribute specifies that value for a property is in XML format and should be (de)serialized to/from specified type.
    /// </summary>
    [AttributeUsage(AttributeTargets.Property, Inherited = false, AllowMultiple = false)]
    public class SerializeXml : Attribute
    {
        public Type Type { get; set; }

        public SerializeXml(Type type)
        {
            Type = type;
        }
    }
}